"coroutine" meaning in All languages combined

See coroutine on Wiktionary

Noun [English]

Forms: coroutines [plural]
Etymology: From co- + routine, coined by Melvin Conway in 1958. Etymology templates: {{prefix|en|co|routine}} co- + routine, {{coin|en|Melvin Conway|in=1958|nocap=1|nocat=1}} coined by Melvin Conway in 1958 Head templates: {{en-noun}} coroutine (plural coroutines)
  1. (programming) A piece of code that performs a task, and that can be passed new input and return output more than once. Categories (topical): Programming Synonyms: co-routine Hyponyms: subroutine (english: a coroutine that accepts input once and return output once), generator (english: a coroutine that accepts input once, but yield output multiple times) Derived forms: goroutine Related terms: delimited continuation, fiber Translations (Translations): kunprogramo (Esperanto), vuorottaisrutiini (Finnish), vuorottelualiohjelma (Finnish), Koroutine [feminine] (German), कोरूटीन (korūṭīn) [feminine] (Marathi), همروال (Persian), همرو (Persian), همسیر (Persian), współprogram [masculine] (Polish), corrutina [feminine] (Spanish)

Inflected forms

Alternative forms

{
  "etymology_templates": [
    {
      "args": {
        "1": "en",
        "2": "co",
        "3": "routine"
      },
      "expansion": "co- + routine",
      "name": "prefix"
    },
    {
      "args": {
        "1": "en",
        "2": "Melvin Conway",
        "in": "1958",
        "nocap": "1",
        "nocat": "1"
      },
      "expansion": "coined by Melvin Conway in 1958",
      "name": "coin"
    }
  ],
  "etymology_text": "From co- + routine, coined by Melvin Conway in 1958.",
  "forms": [
    {
      "form": "coroutines",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "coroutine (plural coroutines)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "senses": [
    {
      "categories": [
        {
          "kind": "other",
          "name": "English entries with incorrect language header",
          "parents": [
            "Entries with incorrect language header",
            "Entry maintenance"
          ],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "English terms prefixed with co-",
          "parents": [],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "Entries with translation boxes",
          "parents": [],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "Pages with 1 entry",
          "parents": [],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "Pages with entries",
          "parents": [],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "Terms with Esperanto translations",
          "parents": [],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "Terms with Finnish translations",
          "parents": [],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "Terms with German translations",
          "parents": [],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "Terms with Marathi translations",
          "parents": [],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "Terms with Persian translations",
          "parents": [],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "Terms with Polish translations",
          "parents": [],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "Terms with Spanish translations",
          "parents": [],
          "source": "w"
        },
        {
          "kind": "topical",
          "langcode": "en",
          "name": "Programming",
          "orig": "en:Programming",
          "parents": [
            "Computing",
            "Software engineering",
            "Technology",
            "Computer science",
            "Engineering",
            "Software",
            "All topics",
            "Sciences",
            "Applied sciences",
            "Media",
            "Fundamental",
            "Communication"
          ],
          "source": "w"
        }
      ],
      "derived": [
        {
          "word": "goroutine"
        }
      ],
      "examples": [
        {
          "text": "Although a powerful tool, coroutines can be hard to understand due to the way data can flow back and forth between sections of the code.",
          "type": "example"
        },
        {
          "ref": "2010, Robert W. Sebesta, Concepts of Programming Languages, Addison-Wesley Longman, page 440:",
          "text": "The actual origin of the concept of symmetric unit control is difficult to determine. One of the earliest published applications of coroutines was in the area of syntax analysis (Conway, 1963).",
          "type": "quote"
        },
        {
          "ref": "2015, Luciano Ramalho, Fluent Python: Clear, Concise, and Effective Programming, O'Reilly Media, →ISBN, page 479:",
          "text": "Python coroutines are the product of a series of enhancements to the humble generator functions we've seen so far in the book.",
          "type": "quote"
        }
      ],
      "glosses": [
        "A piece of code that performs a task, and that can be passed new input and return output more than once."
      ],
      "hyponyms": [
        {
          "english": "a coroutine that accepts input once and return output once",
          "word": "subroutine"
        },
        {
          "english": "a coroutine that accepts input once, but yield output multiple times",
          "word": "generator"
        }
      ],
      "id": "en-coroutine-en-noun-AfdC8f1Z",
      "links": [
        [
          "programming",
          "programming#Noun"
        ],
        [
          "code",
          "code"
        ],
        [
          "input",
          "input"
        ],
        [
          "output",
          "output"
        ]
      ],
      "raw_glosses": [
        "(programming) A piece of code that performs a task, and that can be passed new input and return output more than once."
      ],
      "related": [
        {
          "word": "delimited continuation"
        },
        {
          "word": "fiber"
        }
      ],
      "synonyms": [
        {
          "word": "co-routine"
        }
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "programming",
        "sciences"
      ],
      "translations": [
        {
          "code": "eo",
          "lang": "Esperanto",
          "sense": "Translations",
          "word": "kunprogramo"
        },
        {
          "code": "fi",
          "lang": "Finnish",
          "sense": "Translations",
          "word": "vuorottaisrutiini"
        },
        {
          "code": "fi",
          "lang": "Finnish",
          "sense": "Translations",
          "word": "vuorottelualiohjelma"
        },
        {
          "code": "de",
          "lang": "German",
          "sense": "Translations",
          "tags": [
            "feminine"
          ],
          "word": "Koroutine"
        },
        {
          "code": "mr",
          "lang": "Marathi",
          "roman": "korūṭīn",
          "sense": "Translations",
          "tags": [
            "feminine"
          ],
          "word": "कोरूटीन"
        },
        {
          "code": "fa",
          "lang": "Persian",
          "sense": "Translations",
          "word": "همروال"
        },
        {
          "code": "fa",
          "lang": "Persian",
          "sense": "Translations",
          "word": "همرو"
        },
        {
          "code": "fa",
          "lang": "Persian",
          "sense": "Translations",
          "word": "همسیر"
        },
        {
          "code": "pl",
          "lang": "Polish",
          "sense": "Translations",
          "tags": [
            "masculine"
          ],
          "word": "współprogram"
        },
        {
          "code": "es",
          "lang": "Spanish",
          "sense": "Translations",
          "tags": [
            "feminine"
          ],
          "word": "corrutina"
        }
      ]
    }
  ],
  "word": "coroutine"
}
{
  "derived": [
    {
      "word": "goroutine"
    }
  ],
  "etymology_templates": [
    {
      "args": {
        "1": "en",
        "2": "co",
        "3": "routine"
      },
      "expansion": "co- + routine",
      "name": "prefix"
    },
    {
      "args": {
        "1": "en",
        "2": "Melvin Conway",
        "in": "1958",
        "nocap": "1",
        "nocat": "1"
      },
      "expansion": "coined by Melvin Conway in 1958",
      "name": "coin"
    }
  ],
  "etymology_text": "From co- + routine, coined by Melvin Conway in 1958.",
  "forms": [
    {
      "form": "coroutines",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "coroutine (plural coroutines)",
      "name": "en-noun"
    }
  ],
  "hyponyms": [
    {
      "english": "a coroutine that accepts input once and return output once",
      "word": "subroutine"
    },
    {
      "english": "a coroutine that accepts input once, but yield output multiple times",
      "word": "generator"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "related": [
    {
      "word": "delimited continuation"
    },
    {
      "word": "fiber"
    }
  ],
  "senses": [
    {
      "categories": [
        "English countable nouns",
        "English entries with incorrect language header",
        "English lemmas",
        "English nouns",
        "English terms prefixed with co-",
        "English terms with quotations",
        "English terms with usage examples",
        "Entries with translation boxes",
        "Pages with 1 entry",
        "Pages with entries",
        "Terms with Esperanto translations",
        "Terms with Finnish translations",
        "Terms with German translations",
        "Terms with Marathi translations",
        "Terms with Persian translations",
        "Terms with Polish translations",
        "Terms with Spanish translations",
        "Translation table header lacks gloss",
        "en:Programming"
      ],
      "examples": [
        {
          "text": "Although a powerful tool, coroutines can be hard to understand due to the way data can flow back and forth between sections of the code.",
          "type": "example"
        },
        {
          "ref": "2010, Robert W. Sebesta, Concepts of Programming Languages, Addison-Wesley Longman, page 440:",
          "text": "The actual origin of the concept of symmetric unit control is difficult to determine. One of the earliest published applications of coroutines was in the area of syntax analysis (Conway, 1963).",
          "type": "quote"
        },
        {
          "ref": "2015, Luciano Ramalho, Fluent Python: Clear, Concise, and Effective Programming, O'Reilly Media, →ISBN, page 479:",
          "text": "Python coroutines are the product of a series of enhancements to the humble generator functions we've seen so far in the book.",
          "type": "quote"
        }
      ],
      "glosses": [
        "A piece of code that performs a task, and that can be passed new input and return output more than once."
      ],
      "links": [
        [
          "programming",
          "programming#Noun"
        ],
        [
          "code",
          "code"
        ],
        [
          "input",
          "input"
        ],
        [
          "output",
          "output"
        ]
      ],
      "raw_glosses": [
        "(programming) A piece of code that performs a task, and that can be passed new input and return output more than once."
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "programming",
        "sciences"
      ]
    }
  ],
  "synonyms": [
    {
      "word": "co-routine"
    }
  ],
  "translations": [
    {
      "code": "eo",
      "lang": "Esperanto",
      "sense": "Translations",
      "word": "kunprogramo"
    },
    {
      "code": "fi",
      "lang": "Finnish",
      "sense": "Translations",
      "word": "vuorottaisrutiini"
    },
    {
      "code": "fi",
      "lang": "Finnish",
      "sense": "Translations",
      "word": "vuorottelualiohjelma"
    },
    {
      "code": "de",
      "lang": "German",
      "sense": "Translations",
      "tags": [
        "feminine"
      ],
      "word": "Koroutine"
    },
    {
      "code": "mr",
      "lang": "Marathi",
      "roman": "korūṭīn",
      "sense": "Translations",
      "tags": [
        "feminine"
      ],
      "word": "कोरूटीन"
    },
    {
      "code": "fa",
      "lang": "Persian",
      "sense": "Translations",
      "word": "همروال"
    },
    {
      "code": "fa",
      "lang": "Persian",
      "sense": "Translations",
      "word": "همرو"
    },
    {
      "code": "fa",
      "lang": "Persian",
      "sense": "Translations",
      "word": "همسیر"
    },
    {
      "code": "pl",
      "lang": "Polish",
      "sense": "Translations",
      "tags": [
        "masculine"
      ],
      "word": "współprogram"
    },
    {
      "code": "es",
      "lang": "Spanish",
      "sense": "Translations",
      "tags": [
        "feminine"
      ],
      "word": "corrutina"
    }
  ],
  "word": "coroutine"
}

Download raw JSONL data for coroutine meaning in All languages combined (3.7kB)


This page is a part of the kaikki.org machine-readable All languages combined dictionary. This dictionary is based on structured data extracted on 2024-11-06 from the enwiktionary dump dated 2024-10-02 using wiktextract (fbeafe8 and 7f03c9b). The data shown on this site has been post-processed and various details (e.g., extra categories) removed, some information disambiguated, and additional data merged from other sources. See the raw data download page for the unprocessed wiktextract data.

If you use this data in academic research, please cite Tatu Ylonen: Wiktextract: Wiktionary as Machine-Readable Structured Data, Proceedings of the 13th Conference on Language Resources and Evaluation (LREC), pp. 1317-1325, Marseille, 20-25 June 2022. Linking to the relevant page(s) under https://kaikki.org would also be greatly appreciated.